<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>v-bind demo</title>
    <script src="../../lib/vue-dev/dist/vue.min.js"></script>
</head>
<body>
    <div id="app">
        <input type="button" value="按钮1" v-bind:title="mytitle + '123'">
        <input type="button" value="按钮2" :title="mytitle + '123'">
    </div>
    <script>
        var vm = new Vue({
            el: '#app',
            data: {
                mytitle: 'this is my title.'
            }
        });
    </script>
</body>
</html>